<?php /* Smarty version 2.6.16, created on 2009-04-16 06:19:08
         compiled from QuizList.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'str_replace', 'QuizList.html', 10, false),array('function', 'url', 'QuizList.html', 32, false),array('function', 'language', 'QuizList.html', 32, false),array('function', 'module', 'QuizList.html', 36, false),array('modifier', 'escape', 'QuizList.html', 39, false),array('modifier', 'string_format', 'QuizList.html', 44, false),)), $this); ?>
<table style="width: 100%;" cellpadding="4" cellspacing="0">
<tr>
    <td>
        <!-- START PANEL 1 -->
        <?php if ($this->_tpl_vars['aQuizzes']): ?>
            <table style="width:100%;" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="width:100%;vertical-align:top;padding-left:10px;" class="color">
                    <div style="font-size:9pt;">
                    	<?php echo smarty_function_str_replace(array('text' => "`viewing_apaging_fromrow_apaging_tor_589`",'aPaging_fromRow' => ($this->_tpl_vars['aPaging']['fromRow']),'aPaging_toRow' => ($this->_tpl_vars['aPaging']['toRow']),'aPaging_totalRows' => ($this->_tpl_vars['aPaging']['totalRows'])), $this);?>

                    </div>
                    <br />
                    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['sRootPath'])."/_blocks/pager.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                    </td>
                </tr>
            </table>
            <!-- END PANEL 1 -->

            <br />

            <!-- START QUIZZES  -->
            <table style="width:100%;" cellpadding="8" cellspacing="4" border="0">
                <tr>
                <?php $_from = $this->_tpl_vars['aQuizzes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['quizzes'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['quizzes']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['aQuiz']):
        $this->_foreach['quizzes']['iteration']++;
?>
                    <td style="width:50%;vertical-align:top;" class="border2">
                    <table style="width:100%;">
                        <tr>
                            <td style="font-size:8pt;text-align:left;" class="color">
                            <div style="padding-left:10px;"><br />
                            <div style="font-size:8pt;" class="color">
                            <?php if ($this->_tpl_vars['aQuiz']['can_delete']): ?>
                            	<div><a class="link_action" href="<?php echo smarty_function_url(array('link' => 'current','act' => 'quiz_delete','quizid' => $this->_tpl_vars['aQuiz']['id']), $this);?>
" onclick="return sure();">[ <?php echo smarty_function_language(array('text' => 'delete'), $this);?>
 ]</a></div>
                            <?php endif; ?>
                            <br />
                            <a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aQuiz']['user']), $this);?>
">
                                <?php echo smarty_function_module(array('module' => 'Account','component' => 'Avatar','sUser' => $this->_tpl_vars['aQuiz']['user'],'iSize' => 60,'class' => 'pic1','onmouseover' => "showInfo5('".($this->_tpl_vars['aQuiz']['user'])."', '', '');this.className='pic2';",'onmouseout' => "this.className='pic1';return nd();"), $this);?>

                            </a> <br />
                            <br />
                            <b><?php echo ((is_array($_tmp=$this->_tpl_vars['aQuiz']['title'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</b></div>
                            <div style="padding-left:10px;font-size:8pt;" class="color">
                                <br />
                                <?php if ($this->_tpl_vars['aQuiz']['player']): ?>
                                <?php echo smarty_function_language(array('text' => 'last_taken_by'), $this);?>
: <a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aQuiz']['player']), $this);?>
"><?php echo $this->_tpl_vars['aQuiz']['player']; ?>
</a><br />
                                <?php echo smarty_function_language(array('text' => 'scored'), $this);?>
: <?php echo ((is_array($_tmp=$this->_tpl_vars['aQuiz']['avg_score'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%0.1f") : smarty_modifier_string_format($_tmp, "%0.1f")); ?>
% <br />
                                <?php endif; ?>
                                <?php echo smarty_function_str_replace(array('text' => "`viewed_by_aquiz_views_member_s`",'aQuiz_views' => ($this->_tpl_vars['aQuiz']['views'])), $this);?>
 <br />
                                <?php if ($this->_tpl_vars['aQuiz']['can_take'] && ! $this->_tpl_vars['aQuiz']['is_taken']): ?>
                                <br />
                                <a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.quiz.take','id' => $this->_tpl_vars['aQuiz']['id'],'foxseotitle' => $this->_tpl_vars['aQuiz']['title']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'take_quiz_now'), $this);?>
 ]</a>
                                <?php endif; ?>
                                <?php if ($this->_tpl_vars['aQuiz']['is_owner'] || $this->_tpl_vars['aQuiz']['is_taken']): ?>
                                <br/>
                                <a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.quiz.all-results','id' => $this->_tpl_vars['aQuiz']['id']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'view_all_results'), $this);?>
 ]</a>
                                <?php endif; ?>
                            </div>
                            </div>
                            </td>

                        </tr>
                    </table>
                    </td>
                <?php if (( 0 == $this->_foreach['quizzes']['iteration'] % 2 )): ?>
                </tr>
                <tr>
                <?php endif; ?>
                <?php endforeach; endif; unset($_from); ?>
                <td></td>
                </tr>
            </table>
            <!-- END QUIZES -->
            <br />
            <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['sRootPath'])."/_blocks/pager.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
            <br />
            <br />

        <?php else: ?>
        <br />
        <div class="message_info"><?php echo smarty_function_language(array('text' => 'there_are_no_quizzes_yet_1166'), $this);?>
</div>
        <br /><br />
        <?php endif; ?>
    </td>
</tr>
</table>